package com.yzs.exam.event;

import com.yzs.exam.entity.User;
import com.yzs.exam.entity.UserEventLog;
import org.springframework.context.ApplicationEvent;

/**
 * @author yzs
 * @create 2021-03-20 22:32
 */
public class UserEvent extends ApplicationEvent {
    private final UserEventLog userEventLog;

    public UserEvent(final UserEventLog userEventLog) {
        super(userEventLog);
        this.userEventLog = userEventLog;
    }

    public UserEventLog getUserEventLog() {
        return userEventLog;
    }
}
